<div class="list-item hide">
	<div class="buttons">
		<div>
			<span class="pages"><%= data.Pages %></span>
		</div>
		<div>
			<span class="select" name="actionSelSelect" >select ▼</span>
			<span class="button" name="actionRead" >read</span>
			<span class="button" name="actionDelete" >delete</span>
			<span class="select" name="actionActSelect" >actions ▼</span>
		</div>
		<div class="clear"></div>
	</div>
	<ul class="message-list">
		<% for (var i in data.List) { var ListItem = data.List[i]; %>
			<li rel="<%= ListItem.Rel %>" class="message-line<%=
				((ListItem.IsUnread) ? ' is-unread' : '') +
				((ListItem.IsFlagged) ? ' is-flagged' : '') +
				((ListItem.IsAnswered) ? ' is-answered' : '') +
				((ListItem.HasAttachments) ? ' has-atachment' : '')
			%>">
				<input type="checkbox" class="message-checkbox" />
				<span class="flag">!!</span>
				<span class="message-click-line">
					<span class="from"><%= ListItem.From %></span>
					<span class="subject"><%= ListItem.Subject %></span>
					<span class="attachment">@</span>
					<!-- <span class="size"><%= ListItem.Size %></span> -->
					<span class="date"><%= ListItem.Date %></span>
				</span>
			</li>
		<% } %>
	</ul>
</div>
